/*
 * NotCumulable.java   2008/07/28
 *
 * Copyright 2008 Web & Zen Multimedia, All rights reserved.
 * Use is subject to license terms.
 */
package it.wzm.lightweightlog;

/**
 * Queue implementing this interface will dump the passed {@link Entry} immediately to {@link Dumper}
 * Without accumulate them, as it happens for example for a {@link Queue} implementing Cumulable.
 * In addiction the {@link QueueDumper} is not allowed to run.
 */
public interface NotCumulable {
    
    /**
     * All NotCumulable Dumper has to implement this method which basically cause the Entry to be immediately dumped.
     * @param e any extended Entry to be dumped
     * @throws it.wzm.lightweightlog.DumperException Throws dumper Exception
     */
    <E extends Entry> void dump(E e) throws DumperException;
    
}
